home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_6.lha / 8_6 / makefile < prev    next >
Makefile  |  1993-08-08  |  890b  |  29 lines

  1. C= CC -I. -I../../CC
  2. FLAGS=
  3.  
  4. ll: tst
  5.  
  6. st: tst.o in.o out.o main.o
  7. $(CC) tst.o in.o out.o main.o -o tst
  8.  
  9. st.o: 8_6_filebuf.h 8_6_stream.h istream.h ostream.h stream.h 8_6_alloc.c 8_6_c1.c 8_6_c2.c 8_6_dest.c 8_6_doalloc.c 8_6_fbclose.c 8_6_fbopen.c 8_6_fbover.c 8_6_fbunder.c 8_6_init.c 8_6_over.c 8_6_setbuf.c 8_6_sgetc.c 8_6_snextc.c 8_6_spback.c 8_6_sputc.c 8_6_stossc.c 8_6_under.c tst.c
  10. $(CC) $(CFLAGS) -c tst.c
  11.  
  12. n.o: in.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
  13. $(CC) $(CFLAGS) -c in.c
  14.  
  15. ut.o: out.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
  16. $(CC) $(CFLAGS) -c out.c
  17.  
  18. ain.o: main.c 8_6_filebuf.h 8_6_stream.h filebuf.h istream.h ostream.h stream.h streambuf.h
  19. $(CC) $(CFLAGS) -c main.c
  20.  
  21. MP= tst.cmp
  22. UT= tst.out
  23.  
  24. st.out: tst tst.in ; tst < tst.in > tst.out
  25.  
  26. est: $(CMP) $(OUT)
  27. cmp tst.out tst.cmp
  28. @echo test done
  29.